import http from "@/utils/request";

export default {
    /**
     * 查询列表
     * @param  params 
     * @returns 
     */
    async getList(params) {
        return await http.get("/api/aqyxYjpxjl/list", params);
    },
    /**
    * 添加
    * @returns
    */
    async add(params) {
        return await http.post("/api/aqyxYjpxjl/add", params)
    },
    /**
    * 修改
    * @returns
    */
    async update(params) {
        return await http.put("/api/aqyxYjpxjl/update", params)
    },

    //删除
    async delete(params) {
        return await http.delete('/api/aqyxYjpxjl/delete', params);

    },
}